<template>
	<u-loading-page
	    :loadingText="loadingPageData.loadingText"
	    :image="loadingPageData.image"
		:iconSize="loadingPageData.iconSize"
	    :loadingMode="loadingPageData.loadingMode"
	    :bgColor="loadingPageData.bgColor"
	    :loading="loading"
	    :color="loadingPageData.color"
	    :loadingColor="loadingPageData.loadingColor"
	></u-loading-page>
</template>

<script setup>
	import { ref,watch } from "vue"
	import {onLoad} from "@dcloudio/uni-app"
	import loadingPageData from "@/components/my-loading/loadingPageData.js"
	const props =defineProps({
		loading:{
			type:Boolean,
			default:true
		}
	})
	const loading = ref(true);
	watch(()=>props.loading,(val,oldVal)=>{
		console.log("----------loading-----------")
		loading.value=val.value;
	})
</script>

<style>
</style>